#ifndef RING_BUFFER_H
#define RING_BUFFER_H



class RingBuffer {
public:
    RingBuffer(unsigned int size=8192){

    };
    ~RingBuffer();

    char *get_read_addr();
    char *get_write_addr();

public:
    unsigned int m_read_idx;
    unsigned int m_write_idx;
};


#endif //RING_BUFFER_H
